package com.duck.communication.service;

import java.util.HashMap;

public interface OperateService {
    Integer addLike(HashMap<String,Object> like);

    Integer cancelLike(HashMap<String,Object> like);

    Integer countLike(HashMap<String,Object> like);

    Integer addCollect(String userId, Integer postId);

    Integer cancelCollect(String userId, Integer postId);

    Integer selectCollectCount(Integer postId);
}
